/**
 * 上海中赢金融信息服务有限公司
 * Copyright (c) 2017-2027 Chinazyjr,Inc.All Rights Reserved.
 */

package com.sys.midware.mail.config;

/**
 * <b>ClassName:</b> MailConfig.java <br/>
 * <b>Description:</b> TODO <br/>
 * <b>Date:</b> 2015年10月21日 下午5:09:09<br/>
 * 
 * @author mobing
 * @version
 */
public class MailConfig {
    /**
     * 邮件发送地址
     */
    private String smtpHost;

    /**
     * 邮件发送端口
     */
    private int smtpPort;

    /**
     * 是否认证
     */
    private boolean isAuth;

    /**
     * 认证类型
     */
    private String authType;

    /**
     * 是否开启调试模式
     */
    private boolean isDebug;

    /**
     * 是否SSL加密
     */
    private boolean isSSL;

    /**
     * ssl端口
     */
    private int SSLPort;

    /**
     * 邮件发送用户
     */
    private String fromUser;

    /**
     * 邮件发送用户密码
     */
    private String fromPassword;

    /**
     * 发送到用户
     */
    private String toUser;

    /**
     * 抄送
     */
    private String ccUser;

    public boolean isSSL() {
        return isSSL;
    }

    public void setSSL(boolean isSSL) {
        this.isSSL = isSSL;
    }

    public boolean isAuth() {
        return isAuth;
    }

    public void setAuth(boolean isAuth) {
        this.isAuth = isAuth;
    }

    public String getAuthType() {
        return authType;
    }

    public void setAuthType(String authType) {
        this.authType = authType;
    }

    public boolean isDebug() {
        return isDebug;
    }

    public void setDebug(boolean isDebug) {
        this.isDebug = isDebug;
    }

    public int getSSLPort() {
        return SSLPort;
    }

    public void setSSLPort(int sSLPort) {
        SSLPort = sSLPort;
    }

    public int getSmtpPort() {
        return smtpPort;
    }

    public void setSmtpPort(int smtpPort) {
        this.smtpPort = smtpPort;
    }

    public String getSmtpHost() {
        return smtpHost;
    }

    public void setSmtpHost(String smtpHost) {
        this.smtpHost = smtpHost;
    }

    public String getFromUser() {
        return fromUser;
    }

    public void setFromUser(String fromUser) {
        this.fromUser = fromUser;
    }

    public String getFromPassword() {
        return fromPassword;
    }

    public void setFromPassword(String fromPassword) {
        this.fromPassword = fromPassword;
    }

    public String getToUser() {
        return toUser;
    }

    public void setToUser(String toUser) {
        this.toUser = toUser;
    }

    public String getCcUser() {
        return ccUser;
    }

    public void setCcUser(String ccUser) {
        this.ccUser = ccUser;
    }

    @Override
    public String toString() {
        return "MailConfig [smtpHost=" + smtpHost + ",fromUser" + fromUser + ",toUser" + toUser + ",ccUser" + ccUser
                + "]";
    }
}
